package test.observerPatternEventVariationMissingEvent;

import dk.au.cs.peterbn.annotations.Member;
import dk.au.cs.peterbn.annotations.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 9/19/11
 * Time: 9:46 AM
 * To change this template use File | Settings | File Templates.
 */
@Pattern(id = "test.observerPatternEventVariationMissingEvent", name = "gof:Observer/Push", role = "Subject")
public interface Subject {

    @Member(id = "test.observerPatternEventVariationMissingEvent", role = "Attach")
    void attach();


    @Member(id = "test.observerPatternEventVariationMissingEvent", role = "Detach")
    void detach();
}
